package com.card.client.service;

import com.card.client.entry.CreditCard;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CreditCardServiceAsync {

	void addCreditCard(CreditCard card, AsyncCallback<Void> callback);

	void getAllCard(AsyncCallback<CreditCard[]> callback);

	void delCreditCard(Long id, AsyncCallback<Void> callback);

	void updateCreditCard(CreditCard card, AsyncCallback<Void> callback);

}
